<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="xml" indent="yes"/>
	<xsl:template match="text()">
	</xsl:template>
	<xsl:template match="bancoCentral">
		<xsl:apply-templates />
	</xsl:template>
	<xsl:template match="cheque">
		<cheque>
			<numero><xsl:value-of select="numCheque" /></numero>
			<nomeEmissor></nomeEmissor>
			<bancoEmissor><xsl:attribute name="bancoOrigem" /></bancoEmissor>
			<contaCorrenteEmissor><xsl:value-of select="conta" /></contaCorrenteEmissor>
			<agenciaEmissor><xsl:value-of select="conta" /></agenciaEmissor>
			<data></data>
			<xsl:apply-templates />
			<valor><xsl:value-of select="valor" /></valor>
			<xsl:choose>
				<xsl:when status="indefinido">
					<status>Pendente</status>
				</xsl:when>
				<xsl:when status="falta de fundos">
					<status>Falta de Fundos</status>
				</xsl:when>
				<xsl:when status="compensado">
					<status>compensado</status>
				</xsl:when>
			</xsl:choose>
		</cheque>
	</xsl:template>
	
	<xsl:template match="creditado">
		<nomeFavorecido></nomeFavorecido>
		<bancoFavorecido><xsl:attribute name="bancoDestino" /></bancoFavorecido>
		<agenciaFavorecido><xsl:value-of select="agencia"/></agenciaFavorecido>
		<contaCorrenteFavorecido><xsl:value-of select="conta" /></contaCorrenteFavorecido>
	</xsl:template>
	
</xsl:stylesheet>